﻿var sidebarOption = {
	duration:1000,
	easing:'swing'
};
var sidebarReturnLi=$(".sidebarReturnLi");

sidebarReturnLi.on('click', function (e) {
	var win=$(window),
		body=$("body");

	if(win.scrollTop()>0){
		body.animate({
			"scrollTop":0
		},sidebarOption.duration, sidebarOption.easing);
	}
});